package com.woniu.p2p.behindService;

import com.github.pagehelper.PageInfo;
import com.woniu.p2p.entity.CompanyMincompany;
import com.woniu.p2p.entity.InvestCompany;

import java.util.Date;
import java.util.List;

public interface MyCompanyService {

    //查询所有公司
    PageInfo<InvestCompany> findAllInvestCompany(Integer start, Integer num, String companystatus, Date predate,Date nextdate,String companykeyword);
    //导出公司数据的查询
    List<InvestCompany> findAllInvestCompany(int[] id);
    //根据公司信息查询子公司信息
    List<CompanyMincompany> findAllMinCompany(int id);
    //增加公司信息
    int insertCompany(InvestCompany investCompany);
    //删除单个公司
    int deleteCompanyById(int id);


    List<InvestCompany> selectAll();
}
